package edu.sctu.zhoumengxue.day201506.day20150628.test;

import java.io.IOException;

/**执行
 * Created by user12 on 2015/6/28.
 */
public class Main {

    public static void main(String[] args) throws IOException {

        ThreadRun run = new ThreadRun();
        run.run();

        JsonAppbean appbean = new JsonAppbean();

        URLPath path = new URLPath();
        URLPost post = new URLPost();
        String string = post.getURL(path.URLpath);

        JsonURL url = new JsonURL();
        appbean  = url.getJsonURL(string);

        FileURL fileURL = new FileURL();
        fileURL.setDocuments(path.FileName);
        fileURL.setJsonFile(appbean,path.DocumentName);
        fileURL.setFile(appbean,path.OtherDocumentName);
        fileURL.getFile(path.OtherDocumentName);

        JudgePrice price = new JudgePrice();
        price.getPrice(fileURL.getFile(path.OtherDocumentName));

    }

}
